/*
 * CS 567 GUI - Semester Project - "DecisionLists"
 * Jason Frank
 * Spring 2011
 *
 * This File:  Interface for the Views.
 */


package Decision_Lists;

/**
 */
public interface DL_ViewInterface {


  // model calls this to inform each view of a change
  public void curViewChanged(String old_view_name, String new_view_name);
  // Model calls this to inform views of a changed list item.
  //  The views will then probably need to re-layout their list items to reflect the change.
  public void itemChanged();
  // Model calls this to inform views of an added (new) list item.
  //  The views will then probably need to re-layout their list items to reflect the change.
  public void itemAdded(List_Item_Data newItem);

  public String getViewName(); // model needs to access view's name to pass it in update call

} ///////////////////////
